﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LevelEditor
{
    public partial class PlatformInfo : Form
    {
        public EditorForm form;

        public PlatformInfo(EditorForm form)
        {
            InitializeComponent();
            this.form = form;
        }

        private void submitButton_Click(object sender, EventArgs e)
        {
            form.tempXSpeed = int.Parse(xSpeedBox.Text);
            form.tempYSpeed = int.Parse(ySpeedBox.Text);
            form.tempEnd1Pos = endPnt1Box.Text;
            form.tempEnd2Pos = endPnt2Box.Text;
            this.Close();
        }
    }
}
